package gientech.spring.micro.service;

import com.baomidou.mybatisplus.extension.service.IService;
import gientech.spring.micro.dto.UserChangeEvent;
import gientech.spring.micro.entity.User;

public interface UserService extends IService<User> {


        void addUser(User user);

        User getUserById(Long id);

        User updateUser(User user);

        boolean delete(Long id);

        void doupdateUser(UserChangeEvent userChangeEvent);


}
